<div class="base-statistic">
  <ng-container *ngIf="type==1">
    <div
      echarts
      [options]="verticalBarOpt"
      [merge]="stationOptChange1"
      style="height: 320px;"
    ></div>

    <div
      echarts
      [options]="verticalBarOpt"
      [merge]="stationOptChange2"
      style="height: 320px;"
    ></div>
  </ng-container>
  <ng-container *ngIf="type==2">
    <nz-table #buildingTable [nzData]="tableData" nzBordered>
      <thead>
      <tr>
        <th>名称</th>
        <th>应灌面积</th>
        <th>已灌面积</th>
        <th>进度</th>
      </tr>
      </thead>
      <tbody>
      <tr *ngFor="let item of buildingTable.data">
        <td>{{ item.name }}</td>
        <td>{{ item.planArea }}</td>
        <td>{{ item.totalArea }}</td>
        <td>{{ item.per }}</td>
      </tr>
      </tbody>
    </nz-table>
  </ng-container>


</div>
